package com.lizhenhua.usersave.service.impl;

import com.lizhenhua.fmmall.entity.Users;

import com.lizhenhua.usersave.mapper.UserMapper;
import com.lizhenhua.usersave.service.UserSaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserSaveServiceImpl implements UserSaveService {
    @Autowired
    private UserMapper userMapper;


    @Override
    public int saveUser(Users users) {

        return userMapper.insertUseGeneratedKeys(users);
    }
}
